//
//  TJAcount.h
//  TJSinaWeiBo_OC
//
//  Created by 唐后能 on 16/4/19.
//  Copyright © 2016年 itheima. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TJAcount : NSObject<NSCoding>

// 令牌.
@property (nonatomic, copy) NSString *access_token;
// 用户id.
@property (nonatomic, copy) NSString *uid;
// 有效期.
@property (nonatomic, copy) NSString *expires_in;
// 有效期:NSDate类型.
@property (nonatomic, strong) NSDate *dueDate;

// 提供创建对象的方法.
-(instancetype)initWithDict:(NSDictionary*)dict;
+(instancetype)acountWithDict:(NSDictionary*)dict;

@end
